package biz.almas.uycnr.crawler.entity;

import java.util.Date;

/**
 * @Description: 栏目实体类
 * @Copyright: Copyright (c) 2015 XinJiang Almas Software All Rights Reserved
 * @Company: XinJiang Almas Software
 * @author Ansar786 Nov 19, 2015
 * @version V1.0
 * @history:
 * 
 */
public class Channel implements Cloneable {

	private Long id;
	private int parentId;
	private int chnlId;
	private String chnlName;
	private String chnlDesc;
	private int chnlType;
	private int chnlOrder;
	private int status;
	private String documentsUrl;
	private Date operTime;
	private Date crtime;
	private Date updateTime;
	private int langId;
	private int isContainsChildren;
	private int showPic;

	public Channel() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getChnlId() {
		return chnlId;
	}

	public void setChnlId(int chnlId) {
		this.chnlId = chnlId;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getChnlName() {
		return chnlName;
	}

	public void setChnlName(String chnlName) {
		this.chnlName = chnlName;
	}

	public String getChnlDesc() {
		return chnlDesc;
	}

	public void setChnlDesc(String chnlDesc) {
		this.chnlDesc = chnlDesc;
	}

	public int getChnlType() {
		return chnlType;
	}

	public void setChnlType(int chnlType) {
		this.chnlType = chnlType;
	}

	public int getIsContainsChildren() {
		return isContainsChildren;
	}

	public void setIsContainsChildren(int isContainsChildren) {
		this.isContainsChildren = isContainsChildren;
	}

	public int getChnlOrder() {
		return chnlOrder;
	}

	public void setChnlOrder(int chnlOrder) {
		this.chnlOrder = chnlOrder;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getOperTime() {
		return operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public Date getCrtime() {
		return crtime;
	}

	public void setCrtime(Date crtime) {
		this.crtime = crtime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDocumentsUrl() {
		return documentsUrl;
	}

	public void setDocumentsUrl(String documentsUrl) {
		this.documentsUrl = documentsUrl;
	}

	public int getLangId() {
		return langId;
	}

	public void setLangId(int langId) {
		this.langId = langId;
	}

	public int getShowPic() {
		return showPic;
	}

	public void setShowPic(int showPic) {
		this.showPic = showPic;
	}

	@Override
	public String toString() {
		return "Channel [id=" + id + ", chnlId=" + chnlId + ", parentId="
				+ parentId + ", chnlName=" + chnlName + ", chnlDesc="
				+ chnlDesc + ", chnlType=" + chnlType + ", isContainsChildren="
				+ isContainsChildren + ", chnlOrder=" + chnlOrder + ", status="
				+ status + ", operTime=" + operTime + ", crtime=" + crtime
				+ ", updateTime=" + updateTime + ", langId=" + langId
				+ ", showPic=" + showPic + ", documentsUrl=" + documentsUrl
				+ "]";
	}

	public Channel clone() {
		try {
			return (Channel) super.clone();
		} catch (CloneNotSupportedException e) {
			return null;
		}
	}
}
